import React from "react"
import "./index.less"
export default class Card extends React.Component {
    render () {
        let items = this.props.item;
        return (<div className="card">
            <img referrer="no-referrer|origin|unsafe-url" src={items.url} alt=""/>
            <div className="card-content">
                <p className="card-content-name">{items.name}</p>
                <p className="card-content-sub">{items.attr}</p>
            </div>
        </div>)
    }
}